package cbbx_sm.utils.manualselect;

/** DragDemo.java - Mouse drag example dual application/applet
@author Fred Swartz
@version 2004-04-15
*/
//"appletviewer DragDemo.java" works because of the following line.
//<applet code="DragDemo.class" height="200" width="200"></applet>
import java.io.File;

import javax.swing.JApplet;
import javax.swing.JFrame;
////////////////////////////////////////////////////////////////class DragDemo
/** This is an application because it has a main method.
It's also an applet because it extends JApplet.
*/
public class SelectBoundingBox extends JApplet {
	private static String folderName = "/media/Iomega_Ext Drive/20090528/18/";

//============================================================= method main
public static void main(String[] args) {
    JFrame window = new JFrame();
    window.setTitle("Drag Demo");
    window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    window.setContentPane(new SelectBBoxPanel(new File(folderName)));
    window.pack();
    window.show();
}//end main

//====================================================== applet constructor
public SelectBoundingBox() {
    this.setContentPane(new SelectBBoxPanel(new File(folderName)));
}
}//endclass DragDemo
